﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="List.aspx.cs" Inherits="HHWeb.SystemManage.News.List" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>后台管理-新闻管理</title>
<link href="../../Css/backCommon.css" rel="stylesheet" type="text/css" />
<script src="../../My97DatePicker/WdatePicker.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <input type="hidden" id="hdDelete" name="hdDelete" value="" />
    <input type="hidden" id="Command" name="Command" value="" />
    <input type="hidden" id="HDStatus" name="HDStatus" value="1" />
    <div class="SearchStyle">
    <table border="0" cellpadding="0" cellspacing="0">
    <tr><td><span>搜索条件：</span></td>
    <td>新闻标题：<input type="text" id="SearchTitle" name="SearchTitle" class="TextCommon" value="<%=SearchTitle %>" /></td>
    <td>新闻发布时间：<input type="text" id="SearchPublishTimeS" name="SearchPublishTimeS" onfocus="new WdatePicker(this,'%Y-%M-%D %h:%m:%s',true)" class="TextCommon" style=" width:120px;" value="<%=SearchPublishTimeS %>" />-<input type="text" id="SearchPublishTimeE" name="SearchPublishTimeE" onfocus="new WdatePicker(this,'%Y-%M-%D %h:%m:%s',true)" style=" width:120px;" class="TextCommon" value="<%=SearchPublishTimeE %>" /></td>
    <td>新闻类别：<select id="SearchNewClassInfo" name="SearchNewClassInfo">
    <option value="0">----请选择新闻类别----</option>
    <%=SearchNewClassInfo%>
    </select></td>
    <td>新闻来源：<input type="text" id="SearchNewSource" name="SearchNewSource" class="TextCommon" value="<%=SearchNewSource %>" /></td>
    <td><input type="button" id="BTSearch" name="BTSearch" class="Common" value="搜索" /></td></tr>
    </table>
    </div>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td height="30px" background="../../images/tab_05.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12px" height="30px"><img src="../../images/tab_03.gif" width="12px" height="30px" /></td>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="46%" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="5%"><div align="center"><img src="../../images/tb.gif" width="16px" height="16px" /></div></td>
                <td width="95%" class="STYLE1"><span class="STYLE3">你当前的位置</span>：[新闻管理]-[新闻信息]</td>
              </tr>
            </table></td>
            <td width="54%"><table border="0" align="right" cellpadding="0" cellspacing="0">
              <tr>
                <td width="60px"><table width="87%" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td class="STYLE1"><div align="center">
                      <input type="checkbox" id="AllCheck" name="AllCheck" value="" />
                    </div></td>
                    <td class="STYLE1"><div align="center">全选</div></td>
                  </tr>
                </table></td>
                <td width="60px"><table width="90%" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td class="STYLE1"><div align="center"><img src="../../images/22.gif" width="14px" height="14px" /></div></td>
                    <td class="STYLE1"><div align="center" id="BTAdd" style=" cursor:pointer;">新增</div></td>
                  </tr>
                </table></td>
                <td width="60px"><table width="90%" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td class="STYLE1"><div align="center"><img src="../../images/33.gif" width="14px" height="14px" /></div></td>
                    <td class="STYLE1"><div align="center" id="BTUpdate" style=" cursor:pointer;">修改</div></td>
                  </tr>
                </table></td>
                <td width="52px"><table width="88%" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td class="STYLE1"><div align="center"><img src="../../images/11.gif" width="14px" height="14px" /></div></td>
                    <td class="STYLE1"><div align="center" id="MuchBTDelete" style=" cursor:pointer;">删除</div></td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
        <td width="16px"><img src="../../images/tab_07.gif" width="16px" height="30px" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="8px" background="../../images/tab_12.gif">&nbsp;</td>
        <td>
        <%--List数据区头--%>
        <table id="ListArea" width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="b5d6e6">
        <asp:Repeater ID="Repeater1" runat="server">
        <HeaderTemplate>
        <tr>
        <td width="3%" height="22px" background="../../images/bg.gif" bgcolor="#FFFFFF"><div align="center"><input type="checkbox" id="ParentCheck" name="ParentCheck" value="checkbox" /></div></td>
        <td width="3%" height="22px" background="../../images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE1">编号</span></div></td>
        <td width="9%" height="22px" background="../../images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE1">新闻标题</span></div></td>
        <td width="8%" height="22px" background="../../images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE1">新闻来源</span></div></td>
        <td width="6%" height="22px" background="../../images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE1">作者</span></div></td>
        <td width="12%" height="22px" background="../../images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE1">发布时间</span></div></td>
        <td width="6%" height="22px" background="../../images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE1">点击量</span></div></td>
        <td width="9%" height="22px" background="../../images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE1">上一级</span></div></td>
        <td width="6%" height="22px" background="../../images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE1">排序号</span></div></td>
        <td width="8%" height="22px" background="../../images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE1">前台是否显示</span></div></td>
        <td width="8%" height="22px" background="../../images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE1">创建人</span></div></td>
        <td width="12%" height="22px" background="../../images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE1">创建时间</span></div></td>
        <td width="10%" height="22px" background="../../images/bg.gif" bgcolor="#FFFFFF" class="STYLE1"><div align="center">基本操作</div></td>
        </tr>
        </HeaderTemplate>
        <ItemTemplate>
        <tr style="background-color:#FFFFFF">
        <td height="20px"><div align="center"><input type="checkbox" id="SonCheck" name="SonCheck" value="<%#Eval("ID") %>" /></div></td>
        <td height="20px"><div align="center" class="STYLE1"><div align="center"><%#code++ %></div></div></td>
        <td height="20px"><div align="center"><span class="STYLE1"><%# HHCommon.Help.CutOut(8,Eval("Title").ToString(),"...")%></span></div></td>
        <td height="20px"><div align="center"><span class="STYLE1"><%#Eval("NewSource")%></span></div></td>
        <td height="20px"><div align="center"><span class="STYLE1"><%#Eval("Author")%></span></div></td>
        <td height="20px"><div align="center"><span class="STYLE1"><%#Convert.ToDateTime(Eval("PublishTime")).ToString("yyyy-MM-dd HH:mm:ss")%></span></div></td>
        <td height="20px"><div align="center"><span class="STYLE1"><%#Eval("ClickRate")%></span></div></td>
        <td height="20px"><div align="center"><span class="STYLE1"><%#Eval("NewClassName")%></span></div></td>
        <td height="20px"><div align="center"><span class="STYLE1"><%#Eval("Sort")%></span></div></td>
        <td height="20px"><div align="center"><span class="STYLE1"><img name="OpenStatus" src="<%#Eval("Status").ToString()=="1"?"../../images/d.gif":"../../images/cuo.gif" %>" valueID="<%#Eval("ID") %>" valueStatus="<%#Eval("Status") %>" style="cursor:pointer;" title="显示/屏蔽" alt="显示/屏蔽"/></span></div></td>
        <td height="20px"><div align="center"><span class="STYLE1"><%#Eval("Creater") %></span></div></td>
        <td height="20px"><div align="center"><span class="STYLE1"><%#Convert.ToDateTime(Eval("CreateTime")).ToString("yyyy-MM-dd HH:mm:ss")%></span></div></td>
        <td height="20px"><div align="center"><span class="STYLE4"><img src="../../images/edt.gif" width="16px" height="16px" /><a href="Dispose.aspx?ID=<%#Eval("ID") %>">编辑</a>&nbsp; &nbsp;<img src="../../images/del.gif" width="16px" height="16px" /><a name="Delete" href="#" value="<%#Eval("ID") %>">删除</a></span></div></td>
        </tr>
        </ItemTemplate>
        </asp:Repeater>
        </table>
        <%--List数据区尾--%>
        </td>
        <td width="8px" background="../../images/tab_15.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="35px" background="../../images/tab_19.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12px" height="35px"><img src="../../images/tab_18.gif" width="12px" height="35px" /></td>
        <td>
        <%--分页区头--%>
        <div class="Paging"><webdiyer:AspNetPager ID="AspNetPager1" runat="server" onpagechanging="AspNetPager1_PageChanging" FirstPageText="首页 " 
                LastPageText="末页" NextPageText="下一页" PrevPageText="上一页" ShowBoxThreshold="10"> </webdiyer:AspNetPager>
        </div>
        <%--分页去尾--%>
        </td>
        <td width="16px"><img src="../../images/tab_20.gif" width="16px" height="35px" /></td>
      </tr>
    </table></td>
  </tr>
</table>
<%--引用区头--%>
<script src="../../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
<script src="../../JS/OperateDispose.js" type="text/javascript"></script>
<script type="text/javascript" language="javascript">
    $(function () {
        var SearchNewClassID = '<%=SearchNewClassID %>';
        if (SearchNewClassID != null && SearchNewClassID != "") {
            $("#SearchNewClassInfo").val(SearchNewClassID);
        }
    })
</script>
<%--引用区尾--%>
</form>
</body>
</html>
